package com.liangwj.springbootdesignpatterns.createTypePatterns.builder.demo_1.impl;

import java.math.BigDecimal;

/**
 * <b>Description:</b> ColdDrink的实体类--Coke <br/>
 * @author Lingwenjun
 * @date 2019/1/22-16:04
 * @version 1.0
 */
public class Coke extends ColdDrink{
    @Override
    public String name() {
        return "可口可乐";
    }

    @Override
    public BigDecimal price() {
        return new BigDecimal(3.00);
    }
}
